package com.lsj.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

@Data
@Document(indexName = "lsj_index",type = "user")
public class User {
    @Id
    private String id;
    private String name;
    private String age;
    private String sex;

}
